package slr.comment.portlet.util;

import java.util.Locale;
import java.util.ResourceBundle;

import com.liferay.util.ResourceBundleUtil;

public class Lang {

	private static ResourceBundle _bundle;
	private static Locale _locale;

	public Lang(ResourceBundle bundle, Locale locale) {
		_bundle = bundle;
		_locale = locale;
	}

	public static String getKey(String key) {
		return ResourceBundleUtil.getString(_bundle, _locale, key, null);
	}
}
